package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;

@TableName(value = "common_files")
public class Files{
    @TableId(type = IdType.AUTO)
    private Integer fileId;
    private String deviceKey;
    private String  fileName;
    private String fileType;
    private String path;
    private Timestamp uploadTime;
    private Integer  uploadUserId;
    private Integer relationTypeId;
    private Integer relationId;
    private Integer relationOrder;

    public Files() {
    }

    public Files(Integer fileId, String deviceKey, String fileName, String fileType, String path, Timestamp uploadTime, Integer uploadUserId, Integer relationTypeId, Integer relationId, Integer relationOrder) {
        this.fileId = fileId;
        this.deviceKey = deviceKey;
        this.fileName = fileName;
        this.fileType = fileType;
        this.path = path;
        this.uploadTime = uploadTime;
        this.uploadUserId = uploadUserId;
        this.relationTypeId = relationTypeId;
        this.relationId = relationId;
        this.relationOrder = relationOrder;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getDeviceKey() {
        return deviceKey;
    }

    public void setDeviceKey(String deviceKey) {
        this.deviceKey = deviceKey;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Timestamp getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Timestamp uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getUploadUserId() {
        return uploadUserId;
    }

    public void setUploadUserId(Integer uploadUserId) {
        this.uploadUserId = uploadUserId;
    }

    public Integer getRelationTypeId() {
        return relationTypeId;
    }

    public void setRelationTypeId(Integer relationTypeId) {
        this.relationTypeId = relationTypeId;
    }

    public Integer getRelationId() {
        return relationId;
    }

    public void setRelationId(Integer relationId) {
        this.relationId = relationId;
    }

    public Integer getRelationOrder() {
        return relationOrder;
    }

    public void setRelationOrder(Integer relationOrder) {
        this.relationOrder = relationOrder;
    }
}
